﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Modificar</title>
</head>
<body>
    @if (ViewBag.Error == true)
    {
        <div class="alert alert-danger" role="alert">Nombre o Codigo incorrectos</div>
    }
    <label>
        <div class="panel panel-default">
            <div class="panel-heading">Modificar Empresa</div>
            <div class="panel-body">
                <form method="post" action="@Url.Action("Modificar", "Empresa")">
                    <label>
                        <label>Nombre</label>
                        <input type="text" class="form-control" name="Nombre" />
                        <label>Codigo</label>
                        <input type="text" class="form-control" name="Codigo" />
                        <button type="submit" class="btn btn-default">actualizar</button>
                    </label>
                </form>
            </div>
        </div>
    </label>
</body>
</html>
